package at.chl.genetic;

import at.chl.genetic.function.request.IGeneticFunctionRequest;
import at.chl.genetic.function.result.IGeneticFunctionResult;
import at.chl.genetic.node.IDecisionNode;

public class AbstractGenetic implements IGenetic{

	protected IDecisionNode decisionNode;
	
	public IDecisionNode getDecisionNode() {
		return decisionNode;
	}

	@Override
	public IGeneticFunctionResult evaluate(IGeneticFunctionRequest request) {
		return decisionNode.evaluate(request);
	}

}
